package com.ctshk.rpc.order.air.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalTime;

/**
 * <p>
 * 机票订单多程航班表
 * </p>
 *
 * @author lihang
 * @since 2021-03-16
 */
@Data
@ApiModel(value="AirManualOrderFlightReq对象", description="外挂单航班信息")
public class AirManualOrderFlightReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "下单日期")
    private LocalDate date;

    @ApiModelProperty(value = "航空公司Id")
    private Long companyId;

    @ApiModelProperty(value = "航空公司名称")
    private String companyName;

    @ApiModelProperty(value = "第几程",required = true)
    private Integer tripRank;

    @ApiModelProperty(value = "航班号")
    private String flightNumber;

    @ApiModelProperty(value = "出发时间")
    private LocalTime depTime;

    @ApiModelProperty(value = "出发地id")
    private Long depCityId;

    @ApiModelProperty(value = "出发地名称")
    private String depCityName;

    @ApiModelProperty(value = "到达地id")
    private Long arrCityId;

    @ApiModelProperty(value = "到达地名称")
    private String arrCityName;

    @ApiModelProperty(value = "起飞机场id")
    private Long depAirportId;

    @ApiModelProperty(value = "起飞机场")
    private String depAirportName;

    @ApiModelProperty(value = "到达机场Id")
    private Long arrAirportId;

    @ApiModelProperty(value = "到达机场")
    private String arrAirportName;

    @ApiModelProperty(value = "到达时间")
    private LocalTime arrTime;

    @ApiModelProperty(value = "耗时")
    private String timeConsuming;



}
